package one.stand.mapper;

import one.stand.model.Template;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TemplateApiAdminMapper {

    int deleteByCard(@Param("companyId") Integer companyId, @Param("cardId") Integer cardId);

    List<Template> selectByName(@Param("type") Integer type,
                                @Param("nameLike") String nameLike,
                                @Param("labelId") Integer labelId,
                                @Param("labelType") Integer labelType,
                                @Param("companyId") Integer companyId);
}
